Resource URL: /platform/<<version=1>>/dedupe/reports/<ID>

    Overview: This resource applies the standard collection pattern to
              individual dedupe reports.

     Methods: GET

********************************************************************************

Method GET: Retrieve a report for a single dedupe job.

       URL: GET /platform/<<version=1>>/dedupe/reports/<ID>

Query arguments:
scope=<enum> Where <enum> is one of user, default, effective.  If specified as
             "effective" or not specified, all fields are returned.  If
             specified as "user", only fields with non-default values are
             shown.  If specified as "default", the original values are
             returned.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "reports": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "A report for a dedupe job.", 
            "properties": {
              "job_id": {
                "type": "integer", 
                "description": "The job id this report refers to."
              }, 
              "job_type": {
                "type": "string", 
                "description": "The type of dedupe job this report refers to."
              }, 
              "reports": {
                "items": {
                  "type": "object", 
                  "properties": {
                    "phase": {
                      "type": "integer", 
                      "description": "The phase of the job this report was generated for."
                    }, 
                    "results": {
                      "type": "string", 
                      "description": "The report results."
                    }, 
                    "time": {
                      "type": "integer", 
                      "description": "The time this report was generated in Unix epoch seconds."
                    }
                  }
                }, 
                "type": "array", 
                "description": "A list of report entries for this dedupe job."
              }, 
              "id": {
                "type": "integer", 
                "description": "An unique identifier for this report."
              }, 
              "elapsed_time": {
                "type": "integer", 
                "description": "The amount of time in seconds it took to run this job."
              }, 
              "dedupe_percent": {
                "type": "string", 
                "description": "The amount of space the directory trees under this job's paths now take up, compared to what they would take up if not deduplicated (0 ~ 100)."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}
